<!--导航条-->
<template>
  <div class="nav">
    <div class="navigation">
      <div class="left">
        <slot name="left"></slot>
      </div>
      <div class="center">
        <slot name="center"></slot>
      </div>
      <div class="right">
        <slot name="right"></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Navigation",
  methods: {
    
  }
};
</script>
<style lang="less">
.nav {
  height: 64px;
  .navigation {
    width: 100%;
    height: 64px;
    color: white;
    font-size: 18px;
    background-color: #3190e8;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    .center {
      font-size: 20px;
    }
    .iconfont {
      font-size: 20px;
    }
  }
}
.center {
  input {
    width: 180px;
    height: 30px;
    outline: none;
    padding: 0 10px;
    border-radius: 10px;
    border: none;
  }
  i {
    margin-left: 5px;
    margin-top: 5px;
  }
}
</style>
